/* RESET ET BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    text-decoration: none;
}

html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background-color: white; }

/* HEADER COMMUN */
header {
    width: 100%;
    min-height: 80px;
    max-height: 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
.lien-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
#header-logo {
    display: block;
    width: 150px;
    height: auto;
    max-width: 55vw;
    max-height: none;
    object-fit: contain;
    opacity: 1;
    visibility: visible;
}
#buttons-header { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.header-button {
    background-color: #82368C;
    color: #FFED00;
    border-radius: 10px;
    padding: 8px 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.header-button:hover { background-color: #9B94FF; color: white; }















main { display: flex; flex-direction: column;  width: 100%; background-color: #82368C;}

.écran-principal {display: grid; grid-template-columns: minmax(0, 25%) minmax(0, 75%); width: 100%; align-items: stretch;}

.zone-de-texte {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0px 30px;

    background-color: #82368C;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.texte {
    min-width: 0;
    max-width: 100%;
    color: #FFED00;
}

.texte h2 {
    font-size: clamp(20px, 5vw, 500px);
    line-height: 1;
    overflow-wrap: anywhere;
    margin-top: 20px;
}
.zone-de-texte img {display: block; width: 3vw; min-width: 25px; margin-top: 90px; margin: bottom 100px;}

.texte h4 {font-size: clamp(10px, 3vw, 30px); line-height: 1; margin-top: 10px;}
.texte P {font-size: clamp(10px, 1vw, 16px); line-height: 1; margin-top: 20px;}

.grande-image { width: 100%; min-width: 0;}

.grande-image img { display: block; width: 100%; height: 100%;}
.reste-des-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; height: auto; gap: 0;}

.reste-des-photos img { display: block;  width: 100%;  max-width: 100%;  min-width: 0;  height: 100%;  object-fit: cover;}

.separation {background-color: #82368C; height: 20vh;}

@media screen and (max-width: 768px) {


    .header-button {
    background-color: #FFED00;
    color: #82368C;
    }

    .écran-principal {
        display: flex;
        flex-direction: column;
    }

    .texte h2 {
    font-size: clamp(20px, 10vw, 100px);
    line-height: 1;
    overflow-wrap: anywhere;
    margin-top: 20px;
}

    .texte h4 {font-size: clamp(10px, 3vw, 100px); line-height: 1; margin-top: 5px;}
.texte P {font-size: clamp(10px, 1vw, 16px); line-height: 1; margin-top: 20px;}

    .grande-image {
        
        width: 100%;
    }

    .grande-image img {
        display: block;
        width: 100%;
        height: auto;
    }

    .zone-de-texte {
        
        width: 100%;
        padding: 30px;
        box-sizing: border-box;
    }


    .zone-de-texte img {
        margin-top: 90px; min-width: 25px;
    }
}
















footer {
    background-color: #FFED00;
    display: flex;
    flex-direction: column;
    padding: 50px;
    font-size: 16px;
}
.footer-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 25px;
    font-size: 16px;
}
.case { padding-left: 30px; }
.footer-category { font-size: 1rem; color: #82368C; padding-bottom: 15px; }
.categorie { color: #82368C; font-size: 1rem; }
.categorie:hover { color: #483CFF; }
.social-media { display: flex; flex-direction: row; align-items: flex-start; gap: 5px; }
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #82368C;
    text-decoration: none;
    transition: color 0.3s ease;
}
.social-icon:hover { color: #483CFF; }
.social-icon svg { display: block; width: 30px; height: 30px; fill: currentColor; }
.email, .telephone { color: #82368C; font-size: 1rem; transition: color 0.3s ease; }
.email:hover, .telephone:hover { color: #483CFF; }
.footer-credits { text-align: center; padding-top: 100px; font-size: 0.75rem; color: #82368C; }
#contact:target { animation: footer-bleu 2s ease-in-out; }
@keyframes footer-bleu {
    1%, 49% { background-color: #9B94FF; }
    50%, 99% { background-color: #483CFF; }
    100% { background-color: #9B94FF; }
}

/* FOOTER TABLETTE */
@media (max-width: 800px) {
    .footer-content, .footer-content a, .footer-content p, .footer-content h5,
    .footer-category, .categorie, .email, .telephone { font-size: 0.8rem; }
    .footer-credits { font-size: 0.6rem; }
}
/* FOOTER TÉLÉPHONE */
@media (max-width: 600px) {
    footer { padding: 30px 20px; }
    .footer-content { flex-direction: column; flex-wrap: wrap; gap: 30px; }
    .case { padding-left: 0; }
    .footer-credits { padding-top: 60px; }
}

/* =========================================
   RESPONSIVE TÉLÉPHONE — HEADER ET FOOTER
   ========================================= */

@media screen and (max-width: 600px) {

    /* BASE */

    html, body {
        width: 100%;
        max-width: 100%;
    }

    body {
        overflow-x: hidden;
    }

    /* HEADER */

    header {
        width: 100%;
        min-height: 75px;
        max-height: none;
        padding: 12px 15px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    /* LOGO */

    .lien-logo {
        display: flex;
        align-items: center;
        flex-shrink: 1;
        min-width: 0;
    }

    #header-logo {
        display: block;
        width: 105px;
        max-width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    /* BOUTONS DU HEADER */

    #buttons-header {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 6px;
        flex-shrink: 0;
    }

    .header-button {
        display: inline-block;
        padding: 6px 10px;
        font-size: 11px;
        line-height: 1.3;
        border-radius: 8px;
        text-align: center;
        white-space: nowrap;
    }

    /* FOOTER */

    footer {
        width: 100%;
        padding: 35px 20px 25px;
        display: flex;
        flex-direction: column;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: nowrap;
        gap: 30px;
        width: 100%;
    }

    /* BLOCS DU FOOTER */

    .case {
        padding-left: 0;
        width: 100%;
        min-width: 0;
    }

    .footer-category {
        font-size: 14px;
        line-height: 1.5;
        padding-bottom: 10px;
    }

    .categorie,
    .email,
    .telephone {
        font-size: 13px;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

    /* RÉSEAUX SOCIAUX */

    .social-media {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 20px;
    }

    .social-icon svg {
        display: block;
        width: 28px;
        height: 28px;
    }

    /* CRÉDITS */

    .footer-credits {
        width: 100%;
        padding-top: 45px;
        text-align: center;
        font-size: 11px;
        line-height: 1.6;
    }

    .footer-credits p {
        font-size: inherit;
    }
}

/* TÉLÉPHONES TRÈS ÉTROITS */

@media screen and (max-width: 360px) {

    header {
        padding: 10px;
        gap: 6px;
    }

    #header-logo {
        width: 85px;
    }

    .header-button {
        padding: 5px 8px;
        font-size: 10px;
    }

    footer {
        padding-left: 15px;
        padding-right: 15px;
    }
}
